package com.atguigu.upp.utils;

import java.util.ResourceBundle;

/**
 * Created by Smexy on 2022/11/11
 */
public class PropertiesUtil
{
    private static ResourceBundle config = ResourceBundle.getBundle("config");

    public static String getProperty(String name){
        return config.getString(name);
    }

    public static void main(String[] args) {
        System.out.println(getProperty("masterUrl"));
    }
}
